const config = require("../../config/config");

// pages/customer/customer.js
Page({
  data: {
    appId: config.appId
  },

  onLoad(options) {
  },

  goOnlineService() {
    wx.openCustomerServiceChat({
      extInfo: {
        url: config.customerServiceUrl
      },
      corpId: config.corpId,
      success(res) {}
    });
  },

  goGuidePage() {
    wx.navigateTo({
      url: '/pages/guide/guide',
    })
  },

  call() {
    wx.makePhoneCall({
      phoneNumber: '15111011930'
    })
  }

  
})